package ie.lawlor.amvc.event;

/**
 * @author blawlor
 *
 */
public class EventNotHandledException extends Exception {
	/**
	 * Comment for <code>serialVersionUID</code>
	 */
	private static final long serialVersionUID = 3546925792224686134L;
	Throwable t;
	
	public EventNotHandledException(Throwable t){
		super(t.getMessage());
		this.t = t;
	}
	
	public EventNotHandledException(String message, Throwable t){
		super(message);
		this.t = t;
	}
	
	public Throwable getRootCause(){
		return t;
	}

}
